/*FreeMind - A Program for creating and viewing Mindmaps
 *Copyright (C) 2000-2006 Joerg Mueller, Daniel Polansky, Christian Foltin, Dimitri Polivaev and others.
 *
 *See COPYING for Details
 *
 *This program is free software; you can redistribute it and/or
 *modify it under the terms of the GNU General Public License
 *as published by the Free Software Foundation; either version 2
 *of the License, or (at your option) any later version.
 *
 *This program is distributed in the hope that it will be useful,
 *but WITHOUT ANY WARRANTY; without even the implied warranty of
 *MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *GNU General Public License for more details.
 *
 *You should have received a copy of the GNU General Public License
 *along with this program; if not, write to the Free Software
 *Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
/*
 * Created on 22.01.2006
 * Copyright (C) 2005 Dimitri Polivaev
 */
package freemind.modes.attributes;

import freemind.modes.mindmapmode.MindMapNodeModel;

public interface AttributeController {

	void performSetValueAt(NodeAttributeTableModel model, Object o, int row,
			int col);

	void performInsertRow(NodeAttributeTableModel model, int index,
			String name, String value);

	void performRemoveRow(NodeAttributeTableModel model, int index);

	void performSetColumnWidth(NodeAttributeTableModel model, int col, int width);

	void performRemoveAttributeValue(String name, String value);

	void performReplaceAttributeValue(String name, String oldValue,
			String newValue);

	void performSetFontSize(AttributeRegistry registry, int size);

	void performSetVisibility(int i, boolean b);

	void performSetRestriction(int i, boolean b);

	void performReplaceAtributeName(String oldName, String newName);

	void performRemoveAttribute(String name);

	void performRegistryAttribute(String name);

	void performRegistryAttributeValue(String name, String value);

	void performRegistrySubtreeAttributes(MindMapNodeModel child);

}
